package com.kuzan.autocloud.common.model.workflow.runtime;

import com.kuzan.autocloud.common.model.Base;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

/**
 * <p>Description: 流程运行时主表 </p>
 *
 * @author kuzank
 */
@Data
@NoArgsConstructor
@Entity
@Table(name = "sys_workflow_run")
public class WorkFlowRun extends Base {

    @Column(length = 32)
    private String workflow;
    @Column(length = 32)
    private String curnode;
    @Column(length = 32)
    private String status;
    @Column(length = 32)
    private String recordid;

    @Column(length = 32)
    private String curtrack;
    @Column(length = 32)
    private String pretrack;

    /**
     * 操作者
     */
    @Column(length = 32)
    private String operators;
    /**
     * 已处理人
     */
    @Lob
    @Column(columnDefinition = "TEXT")
    private String handles;
    /**
     * 未处理
     */
    @Lob
    @Column(columnDefinition = "TEXT")
    private String unhandles;

}
